package com.lin.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lin.cms.criteria.UserSiteCriteria;
import com.lin.cms.domain.UserSite;

public interface UserSiteMapper {
    int countByExample(UserSiteCriteria example);

    int deleteByExample(UserSiteCriteria example);

    int deleteByPrimaryKey(Integer usersiteId);

    int insert(UserSite record);

    int insertSelective(UserSite record);

    List<UserSite> selectByExample(UserSiteCriteria example);

    UserSite selectByPrimaryKey(Integer usersiteId);

    int updateByExampleSelective(@Param("record") UserSite record, @Param("example") UserSiteCriteria example);

    int updateByExample(@Param("record") UserSite record, @Param("example") UserSiteCriteria example);

    int updateByPrimaryKeySelective(UserSite record);

    int updateByPrimaryKey(UserSite record);
}